repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Ditched '_find_SET()', since it was a no-value-added wrapper around
[python/dscho.git]
/
Mac
/
IDE scripts
/
Widget demos
/
ModalDialog.py
blob
683a76aaa9a77f3a397328b8f5b9da228f98fcf9
1
import
W
2
import
Windows
3
4
5
w
=
W
.
ModalDialog
((
100
,
100
))
6
7
w
.
ed
=
W
.
EditText
((
10
,
10
,
80
,
50
))
8
w
.
ok
=
W
.
Button
((
10
,
70
,
80
,
16
),
"Ok"
,
w
.
close
)
9
w
.
setdefaultbutton
(
w
.
ok
)
10
w
.
open
()